const express = require('express')

const app = express()

app.use((req, res, next) => {
  console.log('万能匹配');
  next()
})


app.get('/', (req, res) => {
  res.send('hello world')
})


app.listen(3000, () => {
  console.log('server is running...');
})